package com.holyant.report.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.domain.BaseDto;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.List;

/**
 * 货币趋势dto
 * 
 * @author fkmalls
 * @date 2022-08-03
 */
@Data
@ApiModel("货币趋势")
public class RptCurrencyTrendDto extends BaseDto {

    private static final long serialVersionUID = 1L;

    /** 上涨下跌的基数（0正常数，1基准数） */
    @Excel(name = "上涨下跌的基数", readConverterExp = "0=正常数，1基准数")
    @ApiModelProperty(value = "上涨下跌的基数")
    private Integer upDownBase;
    /** 审核人id */
    @Excel(name = "审核人id")
    @ApiModelProperty(value = "审核人id")
    private Long auditById;
    /** 审核人名称 */
    @Excel(name = "审核人名称")
    @ApiModelProperty(value = "审核人名称")
    private String auditByName;
    /** 审核时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "审核时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "审核时间")
    private LocalDateTime auditTime;
    /** 审核状态： 0待审核，1已审核 */
    @Excel(name = "审核状态： 0待审核，1已审核")
    @ApiModelProperty(value = "审核状态： 0待审核，1已审核")
    private Integer auditStatus;

    private List<RptCurrencyTrendItemDto> items;
//    private List<List<RptCurrencyTrendItemDto>> items;
}
